/*
 * =====================================================================================
 *
 *       Filename:  TextFactory.h
 *
 *    Description:  
 *
 *        Version:  1.0
 *        Created:  2015年03月28日 14时32分10秒
 *       Revision:  none
 *       Compiler:  gcc
 *
 *         Author:  LiuYi (), swliuyi@gmail.com
 *   Organization:  
 *
 * =====================================================================================
 */
#ifndef TEXTFACTORY_H
#define TEXTFACTORY_H
#include <iostream>
#include "Text.h"
#include "UtfText.h"
#include "GbkText.h"

using namespace std;

class TextFactory
{
    public:
        static Text * CreateText(string textCode, string path);
};


#endif
